package com.lechuang.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@Schema(description = "运费模板详情返回实体")
public class FreightTemplateDetailVO implements Serializable {
    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "商户id")
    private Long tenantId;

    @Schema(description = "商户名称")
    private String tenantName;

    @Schema(description = "商户名称")
    private String tenantPhone;

    @Schema(description = "模版名称")
    private String name;

    @Schema(description = "计费方式，1：计件，2：计重")
    private Integer type;

    @Schema(description = "物流公司")
    private String logisticsName;

    @Schema(description = "是否包邮，1：包邮，2：不包邮")
    private Integer freeShipping;

    @Schema(description = "包邮金额")
    private BigDecimal freeAmount;

    @Schema(description = "首重数量")
    private BigDecimal firstWeightNum;

    @Schema(description = "首重金额")
    private BigDecimal firstWeightAmount;

    @Schema(description = "续重数量")
    private BigDecimal continuationWeightNum;

    @Schema(description = "续重金额")
    private BigDecimal continuationWeightAmount;

    @Schema(description = "模版状态状态，1：启用，2：禁用")
    private Integer templateStatus;
}
